package com.hy.mydesktop.client.component.meta;

import com.extjs.gxt.charts.client.model.Legend.Position;

/**
 * 
 * <ul>
 * <li>开发作者：汤莉</li>
 * <li>设计日期：2010-9-7；时间：下午01:36:49</li>
 * <li>类型名称：LegendModel</li>
 * <li>设计目的：</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
public class LegendModel {
	
	/**
	 * 设置图例的透明度
	 */
	private float alpha;
	
	/**
	 * 背景颜色
	 */
	private String backGroundColour;
	
	/**
	 * 边框
	 */
	private boolean border;
	
	/**
	 * 边框颜色
	 */
	private String borderColour;
	
	/**
	 * 边界
	 */
	private int margin;
	
	/**
	 * 间距
	 */
	private int padding;
	
	/**
	 * 位置
	 */
	private Position position;

	/**
	 * 阴影
	 */
	private boolean shaDow;

	public float getAlpha() {
    	return alpha;
    }

	public void setAlpha(float alpha) {
    	this.alpha = alpha;
    }

	public String getBackGroundColour() {
    	return backGroundColour;
    }

	public void setBackGroundColour(String backGroundColour) {
    	this.backGroundColour = backGroundColour;
    }

	public boolean isBorder() {
    	return border;
    }

	public void setBorder(boolean border) {
    	this.border = border;
    }

	public String getBorderColour() {
    	return borderColour;
    }

	public void setBorderColour(String borderColour) {
    	this.borderColour = borderColour;
    }

	public int getMargin() {
    	return margin;
    }

	public void setMargin(int margin) {
    	this.margin = margin;
    }

	public int getPadding() {
    	return padding;
    }

	public void setPadding(int padding) {
    	this.padding = padding;
    }

	public Position getPosition() {
    	return position;
    }

	public void setPosition(Position position) {
    	this.position = position;
    }

	public boolean isShaDow() {
    	return shaDow;
    }

	public void setShaDow(boolean shaDow) {
    	this.shaDow = shaDow;
    }
	
	
}
